package pojo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageBean<T> {
    private int  startPage;//开始页
    private int endPage;//结束页
    private int totalCount; //总记录数量
    private int totalPage;//总页码
    private List<T> list;//每一页的记录
    private int currentPage;//当前的页码数
    private int rows;//每一页显示的记录数据
}
